home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / jmod310.zip / JMODEM next >
Text File  |  1991-11-30  |  2KB  |  78 lines

  1. #
  2. #
  3. #    MAKE file for JMODEM, the 'C' version.
  4. #    Created 01-FEB-1990        Richard B. Johnson
  5. #                                       405 Broughton Drive
  6. #                                       Beverly, Massachusetts 01915
  7. #                                       BBS (508) 922-3166
  8. #    Execute MAKE JMODEM
  9. #
  10. #    Revised 21-APR-1990        Richard B. Johnson
  11. #
  12. #    Changed this MAKE file after several "professional programmers"
  13. #    informed me that the previous one was too amateur and simplistic.
  14. #    In keeping with maintaining the highest degree of complexity possible
  15. #    to appease these bombastic mutants of diddly-wop, I made this file
  16. #    unreadable by incorporating macros for no useful purpose. The next
  17. #    revision will remove all spaces and tabs <grin>.
  18. #
  19. #    Revised 02-JAN-1991        Richard B. Johnson
  20. #
  21. #    Changed the warning-level to /W4 in the Microsoft CL command to
  22. #    be compatible with Microsoft's C600 highest level of error checking.
  23. #
  24. #    Revised 27-NOV-1991        Richard B. Johnson
  25. #
  26. #    Added support for the external assembly-language routines in
  27. #    JMODEM_G.ASM.
  28. #
  29. #    Had to add a response file for the linker because the number of
  30. #    parameters on the command line exceeded some arbitrary limit
  31. #    imposed by either the linker or DOS.
  32. #
  33. #
  34.     nam    = Jmodem
  35.     headers = $(nam).h $(nam)
  36.         csrc    = $*.c
  37.     asrc    = $*.asm
  38.     exe    = $(nam).exe
  39.     cmp    = CL /AS /c /Oais /FPi /W4 /DNOENV $(csrc)
  40.     asm    = MASM/W2 $(asrc);
  41.     lnk    = Link @$(nam).res
  42.         objects = $(nam)_a.obj $(nam)_b.obj $(nam)_c.obj\
  43.                   $(nam)_d.obj $(nam)_e.obj $(nam)_f.obj $(nam)_g.obj
  44.  
  45. $(nam)_a.obj:        $(headers) $(csrc)
  46.             $(cmp)
  47.  
  48. $(nam)_b.obj:        $(headers) $(csrc)
  49.             $(cmp)
  50.  
  51. $(nam)_c.obj:        $(headers) $(csrc)
  52.             $(cmp)
  53.  
  54. $(nam)_d.obj:        $(headers) $(csrc)
  55.             $(cmp)
  56.  
  57. $(nam)_e.obj:        $(headers) $(csrc) uart.h
  58.             $(cmp)
  59.  
  60. $(nam)_f.obj:        $(headers) $(csrc) screen.h
  61.             $(cmp)
  62.  
  63. $(nam)_g.obj:        $(headers) $(asrc)
  64.             $(asm)
  65.  
  66. $(nam).res:        $(headers)
  67.             Echo $(nam)_a+>   $(nam).res
  68.             Echo $(nam)_b+>>  $(nam).res
  69.             Echo $(nam)_c+>>  $(nam).res
  70.             Echo $(nam)_d+>>  $(nam).res
  71.             Echo $(nam)_e+>>  $(nam).res
  72.             Echo $(nam)_f+>>  $(nam).res
  73.             Echo $(nam)_g,>>  $(nam).res
  74.             Echo $(nam).exe /Noe/Map/Exepack;>>$(nam).res
  75.  
  76. $(exe):            $(headers) $(objects) $(nam).res
  77.             $(lnk)
  78.